package sr.myserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;


@Data
@TableName(value = "sys_roles")
@ApiModel(value = "权限信息", description = "权限信息")
public class SysRoles extends BaseEntity {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @Schema(description = "权限编号")
    private String id;

    @Schema(description = "权限名称")
    private String name;
}
